cmake_minimum_required(VERSION 3.15)
project(test2)

message(STATUS "test2的PROJECT_NAME名字:${PROJECT_NAME}")
#指定头文件目录
include_directories(${INCLUDE_PATH})
#指定库目录
link_directories(${LIB_PATH})
#指定输出路径
set(EXECUTABLE_OUTPUT_PATH ${EXE_PATH})

#设置依赖
aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR} SRC_LIST)

#生成可执行程序
add_executable(${PROJECT_NAME} ${SRC_LIST})

#链接库
target_link_libraries(${PROJECT_NAME} ${ACTION} ${CALCULATE})
